<!DOCTYPE html>
<html data-theme="docuseal" lang="en">
  <head>
    <%= render 'layouts/head_tags' %>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <%= csrf_meta_tags %>
    <%= csp_meta_tag %>
    <%= javascript_pack_tag 'application', defer: true %>
    <%= stylesheet_pack_tag 'application', media: 'all' %>
    <%= render 'shared/posthog' if ENV['POSTHOG_TOKEN'] %>
  </head>
  <body>
    <% if flash.present? %><%= render 'shared/flash' %><% end %>
    <%= yield %>
    <turbo-frame id="modal"></turbo-frame>
  </body>
</html>
